cmake_minimum_required(VERSION 3.17)
project(acl_app_test)

set(CMAKE_CXX_STANDARD 11)

set(ASCEND_PKG_PATH "/home/cyrus/Ascend/latest")
set(ACL_INC_PATH ${ASCEND_PKG_PATH}/acllib/include/)
# real so file
#set(ACL_LIB_PATH {ASCEND_PKG_PATH}/acllib/lib64/)
# stub so file
set(ACL_LIB_PATH {ASCEND_PKG_PATH}/acllib/lib64/stub/)

add_executable(acl_app_test
        main.cpp
        )

target_include_directories(acl_app_test PRIVATE
        ${ACL_INC_PATH}
        )

target_link_directories(acl_app_test PRIVATE
        ${ACL_LIB_PATH}
        )

target_link_libraries(acl_app_test PRIVATE
        ascendcl
        )